package com.monitoring.domain.repository;

import com.monitoring.domain.entity.Sensor;
import java.util.List;
import java.util.Optional;

public interface SensorRepository {
    Sensor save(Sensor sensor);
    Optional<Sensor> findById(Long id);
    List<Sensor> findAll();
    List<Sensor> findByLocation(String location);
    List<Sensor> findActiveSensors();
    void deleteById(Long id);
    boolean existsById(Long id);
}